package com.eorchis.module.addUser.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.eorchis.utils.utils.PropertyUtil;

/**
 * Date:2016-0915
 * @version 1.01 
 * @author RongSL
 */
public class UserBean implements Serializable{
	
	private static final long serialVersionUID = 1L;

	public final static String defaultPassWord="8888";//默认密码8888
//	public final static String defaultPassWord="ddba60ad01834735";//默认密码8888
	
	public final static String uumUserSeq="uum_user_seq.nextval@uum_link";//uum系统用户id下个序列
	public final static String uumUserCurrSeq="uum_user_seq.currval@uum_link";//uum系统用户id当前序列
 
	public final static String WRONG = "wrong";
	 
	public final static String FAILURE = "failure";
	 
	public final static String SUCCESS = "success";
 
	public final static int ACTIVE_ENABLED = 1;
 
	public final static int ACTIVE_DISABLED = 0;
	
	private BigDecimal ROWNUM_;
	
	private String userId;//用户编号
	private String loginId;//登录ID
	private String password;//密码
	private String userName;//用户名
	private String sexCode;//性别
	private String birthday;//出生日期
	private String phone;//固定电话
	private String mobileTelephone;//手机
	private String email;//电子邮箱
	private String folkCode;//民族编号
	private String paperTypeCode;//证件类型
	private String paperNum;//证件号码
	private String politicesCode;//政治面貌编码
	private String degreeCode;//学历编码
	private String dutyLevelCode;//职级编码
	private Integer hierarchy;//级别分类
	private String dutyRemark;//职务备注
	private Integer zuGong;//组工干部
	private Integer examState;//考核状态
	private Integer isBureauReserve;//局级后备
	private String currentDutyTime;//任现职时间
	private Integer shiGuan;//市管干部
	private Integer activeState;//活动状态
	private Integer orderNum;//排序序号
	private Integer availabilityState;//报名状态
	private Date officeholdingDate;//任职时间
	private Integer dangWu;//党务干部
	private Integer tongZhan;//统战干部
	private Integer viewState;//显示状态
	private String guid;//GUID
	private String remark;//备注
	private String scopesdepName;//管理范围 
	private String depName;//所属部门
	private String roleCode;//角色编码
	private String depCode;//部门编码
	private String depId;//部门ID
	private String roleName;//角色名称
	private String departmentId;
	private String createDate;//创建时间
	private String createDateStr;//创建时间转字符
	
	private String administrativeLevel;//所属地区行政级别编码
	
	//add RongSL
	private String birthdayYear;//出生年
	private String birthdayMouth;//出生月
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getSexCode() {
		return sexCode;
	}
	public void setSexCode(String sexCode) {
		this.sexCode = sexCode;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMobileTelephone() {
		return mobileTelephone;
	}
	public void setMobileTelephone(String mobileTelephone) {
		this.mobileTelephone = mobileTelephone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getFolkCode() {
		return folkCode;
	}
	public void setFolkCode(String folkCode) {
		this.folkCode = folkCode;
	}
	public String getPaperTypeCode() {
		return paperTypeCode;
	}
	public void setPaperTypeCode(String paperTypeCode) {
		this.paperTypeCode = paperTypeCode;
	}
	public String getPaperNum() {
		return paperNum;
	}
	public void setPaperNum(String paperNum) {
		this.paperNum = paperNum;
	}
	public String getPoliticesCode() {
		return politicesCode;
	}
	public void setPoliticesCode(String politicesCode) {
		this.politicesCode = politicesCode;
	}
	public String getDegreeCode() {
		return degreeCode;
	}
	public void setDegreeCode(String degreeCode) {
		this.degreeCode = degreeCode;
	}
	public String getDutyLevelCode() {
		return dutyLevelCode;
	}
	public void setDutyLevelCode(String dutyLevelCode) {
		this.dutyLevelCode = dutyLevelCode;
	}
	public Integer getHierarchy() {
		return hierarchy;
	}
	public void setHierarchy(Integer hierarchy) {
		this.hierarchy = hierarchy;
	}
	public String getDutyRemark() {
		return dutyRemark;
	}
	public void setDutyRemark(String dutyRemark) {
		this.dutyRemark = dutyRemark;
	}
	public Integer getZuGong() {
		return zuGong;
	}
	public void setZuGong(Integer zuGong) {
		this.zuGong = zuGong;
	}
	public Integer getExamState() {
		return examState;
	}
	public void setExamState(Integer examState) {
		this.examState = examState;
	}
	public Integer getIsBureauReserve() {
		return isBureauReserve;
	}
	public void setIsBureauReserve(Integer isBureauReserve) {
		this.isBureauReserve = isBureauReserve;
	}
	public String getCurrentDutyTime() {
		return currentDutyTime;
	}
	public void setCurrentDutyTime(String currentDutyTime) {
		this.currentDutyTime = currentDutyTime;
	}
	public Integer getShiGuan() {
		return shiGuan;
	}
	public void setShiGuan(Integer shiGuan) {
		this.shiGuan = shiGuan;
	}
	public Integer getActiveState() {
		return activeState;
	}
	public void setActiveState(Integer activeState) {
		this.activeState = activeState;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public Integer getAvailabilityState() {
		return availabilityState;
	}
	public void setAvailabilityState(Integer availabilityState) {
		this.availabilityState = availabilityState;
	}
	public Date getOfficeholdingDate() {
		return officeholdingDate;
	}
	public void setOfficeholdingDate(Date officeholdingDate) {
		this.officeholdingDate = officeholdingDate;
	}
	public Integer getDangWu() {
		return dangWu;
	}
	public void setDangWu(Integer dangWu) {
		this.dangWu = dangWu;
	}
	public Integer getTongZhan() {
		return tongZhan;
	}
	public void setTongZhan(Integer tongZhan) {
		this.tongZhan = tongZhan;
	}
	public Integer getViewState() {
		return viewState;
	}
	public void setViewState(Integer viewState) {
		this.viewState = viewState;
	}
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	public String getAdministrativeLevel() {
		return administrativeLevel;
	}
	public void setAdministrativeLevel(String administrativeLevel) {
		this.administrativeLevel = administrativeLevel;
	}
	public String getBirthdayYear() {
		return birthdayYear;
	}
	public void setBirthdayYear(String birthdayYear) {
		this.birthdayYear = birthdayYear;
	}
	public String getBirthdayMouth() {
		return birthdayMouth;
	}
	public void setBirthdayMouth(String birthdayMouth) {
		this.birthdayMouth = birthdayMouth;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public static String getDefaultpassword() {
		return defaultPassWord;
	}
	public static String getUumuserseq() {
		return uumUserSeq;
	}
	public static String getUumusercurrseq() {
		return uumUserCurrSeq;
	}
	public static String getWrong() {
		return WRONG;
	}
	public static String getFailure() {
		return FAILURE;
	}
	public static String getSuccess() {
		return SUCCESS;
	}
	public static int getActiveEnabled() {
		return ACTIVE_ENABLED;
	}
	public static int getActiveDisabled() {
		return ACTIVE_DISABLED;
	}
	public String getScopesdepName() {
		return scopesdepName;
	}
	public void setScopesdepName(String scopesdepName) {
		this.scopesdepName = scopesdepName;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getDepId() {
		return depId;
	}
	public void setDepId(String depId) {
		this.depId = depId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getDepCode() {
		return depCode;
	}
	public void setDepCode(String depCode) {
		this.depCode = depCode;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getCreateDateStr() {
		if(PropertyUtil.objectNotEmpty(createDate)){
			return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format(createDate);
		}else{
			return createDateStr;
		}
	}
	public void setCreateDateStr(String createDateStr) {
		this.createDateStr = createDateStr;
	}
	public BigDecimal getROWNUM_() {
		return ROWNUM_;
	}
	public void setROWNUM_(BigDecimal rOWNUM_) {
		ROWNUM_ = rOWNUM_;
	}
	
}